package com.usefullc.user.query;

import com.usefullc.system.query.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author: Sampson
 * @date: 2018-12-19 16:29
 */
@ApiModel
@Data
public class UserQuery extends BaseQuery {

    @ApiParam(value = "账号/用户名")
    private String accountNo;

    @ApiParam(value = "密码")
    private String pwd;

    @ApiParam(value = "昵称")
    private String nickname;

    @ApiModelProperty(notes = "类型")
    private Integer type;


    @ApiModelProperty(notes = "姓名")
    private String userName;


    @ApiParam(value = "状态")
    private Integer status;

    @ApiParam(value = "角色ID")
    private List<Long> roleIds;


    @ApiParam(value = "职务ID")
    private Long positionId;

    @ApiModelProperty(notes = "性别")
    private Integer gender;

    @ApiModelProperty(notes = "生日开始")
    private String birthdayStart;

    @ApiModelProperty(notes = "生日结束")
    private String birthdayEnd;


    @ApiModelProperty(notes = "创建时间开始")
    private String gmtCreateStart;

    @ApiModelProperty(notes = "创建时间结束")
    private String gmtCreateEnd;


    @ApiParam(value = "部门ID")
    private Long deptId;


    @ApiParam(value = "国家区号")
    private String areaCode;

    @ApiParam(value = "手机")
    private String mobile;

    @ApiParam(value = "邮件")
    private String email;

    @ApiParam(value = "地区语言")
    private String local;

}
